package com.xiaoshuidi.cloud.module.report.controller.finance.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Schema(description = "管理后台 - 收入汇总分页 Request VO")
public class SumIncomePageReqVO extends PageParam {

    @Schema(description = "房源类型 0分散，1集中")
    private Boolean isConcentrated;

    @Schema(description = "公寓id")
    private List<Long> apartmentIds;


    @Schema(description = "起始日期")
    @NotNull(message = "起始日期不能为空")
    private String startDate;

    @Schema(description = "截止日期")
    @NotNull(message = "截止日期不能为空")
    private String endDate;

    @Schema(description = "租户id")
    private Long tenantId;
}
